package com.littlec.sdk.utils;


public class IMUserUtil {

	public static String getIMUserName(String userName) {
		if(userName != null) {
			int index = userName.indexOf("@");
			if(-1 != index) {
				userName = userName.substring(0, index);
			} 
		} else {
			userName = "";
		}
		return userName;
	}
	
}
